package org.brisling.supervision.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.TableGenerator;
import javax.persistence.Transient;

import org.brisling.base.domain.impl.BaseDomain;
import org.brisling.base.domain.inf.BaseDomainInf;
import org.brisling.common.ConstSysParam;
import org.brisling.supervision.domain.inf.SupervisionProjectTree;

/**
 * 
 * <p>Title: SupItem 督查条款实体类</p>
 * <p>Description: </p>
 * <p>Company: 长沙东勤信息科技发展有限公司</p>
 * @author jackson wang
 * @since 1.0
 * @version 1.0
 * @date 2018年7月30日 上午10:53:01
 */

@Entity


//定义模块代码及数据表名称
@Table(name=ConstSysParam.MODULE_SUPERVISION_ITEM)
public class SupItem extends BaseDomain implements BaseDomainInf, SupervisionProjectTree{
	
		
		@Transient
		private Long parentid;
		
		
		@Transient
		private String parnetName;

		
		//节点类型
		@Transient
		private String type = "i";
		/**
		 * @return the parentid
		 */
		public Long getParentid() {
			return parentid;
		}


		/**
		 * @param parentid the parentid to set
		 */
		public void setParentid(Long parentid) {
			this.parentid = parentid;
		}


		/**
		 * @return the parnetName
		 */
		public String getParnetName() {
			return parnetName;
		}


		/**
		 * @param parnetName the parnetName to set
		 */
		public void setParnetName(String parnetName) {
			this.parnetName = parnetName;
		}


		


		/**
		 * @return the type
		 */
		public String getType() {
			return type;
		}


		/**
		 * @param type the type to set
		 */
		public void setType(String type) {
			this.type = type;
		}
		
		

}
